package cn.fbs.dao.mysql;

import cn.fbs.model.TCodeCategoryType;

import java.util.List;

public interface TCodeCategoryTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TCodeCategoryType record);

    int insertSelective(TCodeCategoryType record);

    TCodeCategoryType selectByPrimaryKey(Integer id);
    List<TCodeCategoryType> selectAll();
    int updateByPrimaryKeySelective(TCodeCategoryType record);

    int updateByPrimaryKey(TCodeCategoryType record);

    List<TCodeCategoryType> likeQuery(String categoryName);

    List<TCodeCategoryType> findByGroupIdQuery(String groupId);


    TCodeCategoryType categoryAndGroup();

    Integer countByGroupId(String groupId);
}